package cn.lds.healthj377.mapper;

import cn.lds.healthj377.domain.AppointmentRecord;
import cn.lds.healthj377.dto.Pager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppointmentRecordMapper {

    List<AppointmentRecord> selectAppointmentRecordByCondition(@Param("ar") AppointmentRecord appointmentRecord, @Param("pager") Pager pager);

    AppointmentRecord selectAppointmentRecordById(Integer id);

    int addAppoint(AppointmentRecord appointmentRecord);

    int modifyAppoint(AppointmentRecord appointmentRecord);

    int removeAppointByID(Integer id);

    int count(AppointmentRecord appointmentRecord);
}
